package org;

public class JBT13 {
    public static void main(String[] args) {

        JBT14 jbt14 = new JBT14();
        JBT15 jbt15 = new JBT15();
        int x = 1 , y =2;
        jbt14.add(x,y);
        jbt15.minus(x,y);


        String name = "WXY",subject="JAVA语言";
        int num = 1222070312;
        System.out.println("姓名：" + name + "\n" +
                "学号：" + num + "\n" +
                "课程信息：" + subject);



    }
}

class JBT14{
    void add (int x,int y) {
        System.out.println(x + "+" + y + "=" + (x + y));
    }
}

class JBT15{
    void minus (int x,int y) {
        System.out.println(x + "-" + y + "=" + (x - y));
    }
}
